package com.yb.flowable.param;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.flowable.idm.api.User;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * Description:请假信息封装类
 * 实测,当此工程打成jar包以后运行,也没有报错,说明lombok是可以的在项目里运行的,而idea安不安装插件根本与之无关
 * @author biaoyang
 * date 2019/3/12 001218:02
 */
@Setter
@Getter
@ApiModel(description = "请假信息封装类")
public class Vacation implements Serializable {
    private static final long serialVersionUID = 7384256037676225950L;

    @ApiModelProperty("申请日期")
    private Date applyTime;

    @ApiModelProperty("申请人")
    private String applyUser;

    @ApiModelProperty("申请状态")
    private String applyStatus;

    @ApiModelProperty("请假理由")
    private String reason;

    @ApiModelProperty("请假天数(可换成开始时间和结束时间,然后计算对应的天数)")
    private Double days;

    @ApiModelProperty("审核人信息")
    private List<JSONObject> auditorInfos;

}
